﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%@ Import Namespace="Hotel.Models" %>
<%@ Import Namespace="Resources" %>

<%
    int culture = SiteSession.CurrentUICulture;
    //
    // Get the user name from site session.
    //
    string username = null;
    if (Session["SiteSession"] != null)
    {
        SiteSession shopSession = (SiteSession)Session["SiteSession"];
        username = shopSession.Username;
    }
 %>


<div id="header">
    <% string url = HttpContext.Current.Request.RawUrl.ToLower(); %>
    <div id="nav">
        <div id="version">
            Rex Hotel</div>
        <div id="memberaction">
            <%--<div class="color">
                <a onclick="setcolor(&#39;red&#39;)" class="red"></a><a onclick="setcolor(&#39;pink&#39;)"
                    class="pink"></a><a onclick="setcolor(&#39;orange&#39;)" class="orange"></a>
                <a onclick="setcolor(&#39;blue&#39;)" class="blue"></a><a onclick="setcolor(&#39;violet&#39;)"
                    class="violet"></a>
            </div>--%>
            <div class="account">
                <b>O3b Demo</b><a href="http://ks.o2bsoft.com/logout">Thoát</a><!--<a href="javascript:;">Trợ giúp</a>--><a href="javascript:;" onclick="">Giúp đỡ</a>
            </div>
        </div>
    </div>
    <div id="menu">
            
        <span class="tlefti" id="ttleftroom"></span><a class='<%=url.Contains("room/room")||url.Contains("staff/staff")||url.Contains("statistics/statistics")||url.Contains("about/about")?"tabi" :"taba" %>' href="/" ><span class="iconHome"></span><% = Resource.Home%></a><span class="tRighti" id="ttrightroom"></span>

        <span class="tlefti" id="ttleftroom"></span>
        <a class='<%=url.Contains("room/room")?"taba" :"tabi" %>' href="/Room/Room"
            id="tab_room"><span class="icRoomMn"></span><% = Resource.ManagerRoom%></a><span class="sli" id="ttrightroom"></span>

        <span class="tlefti" id="ttleftemployment"></span><a class='<%=url.Contains("staff/staff")?"taba" :"tabi" %>' href="/Staff/Staff"
            id="tab_employment"><span class="icCustom"></span><% = Resource.Staff %></a><span class="sli"
                id="ttrightemployment"></span> <span class="tlefti" id="ttleftsum"></span>
        <a class='<%=url.Contains("statistics/statistics")?"taba" :"tabi" %>' href="/Statistics/Statistics" id="tab_sum"><span class="icSummary">
        </span><% = Resource.Statistics%></a><span class="sli" id="ttrightsum"></span> <span class="tlefti"
            id="ttleftinfo"></span><a class='<%=url.Contains("about/about")?"taba" :"tabi" %>' href="/About/About" id="tab_info">
                <span class="icInfo"></span><% = Resource.Infor%></a><span class="sli" id="ttrightinfo"></span>
        <div id="quickBook">
            <!--<span class="btL"></span><a href="javascript:;" id="dstam">DANH SÁCH ĐANG Ở</a><span class="btR"></span>-->
        </div>
    </div>
    <div id="submenu">
    </div>
</div>
